/* 游戏大厅容器样式 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    background: 
        linear-gradient(rgba(40, 40, 40, 0.8), rgba(70, 70, 70, 0.8)),
        url('../image/cat.jpg') center/cover no-repeat;
    padding: 20px;
    box-sizing: border-box;
}

/* 屏幕信息区域 */
#screen {
    width: 420px;
    height: 220px;
    padding: 20px;
    font-size: 22px;
    background: rgba(50, 50, 50, 0.85);
    color: #fff;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#screen:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

#screen p {
    margin: 8px 0;
    line-height: 1.5;
}

/* 匹配按钮样式 */
#match-button {
    width: 420px;
    height: 60px;
    font-size: 22px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
    border: none;
    outline: none;
    border-radius: 12px;
    text-align: center;
    line-height: 60px;
    margin-top: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#match-button:hover {
    background: linear-gradient(135deg, #ff5e00, #ff3d00);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 94, 0, 0.4);
}

#match-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 94, 0, 0.4);
}

#match-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

#match-button:hover::after {
    left: 100%;
}

/* 匹配状态样式 */
#match-button.matching {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 180, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 219, 0);
    }
}

/* 响应式设计 */
@media (max-width: 500px) {
    .container {
        padding: 10px;
    }
    
    #screen, #match-button {
        width: 95%;
    }
    
    #screen {
        height: auto;
        padding: 15px;
    }
    
    #match-button {
        height: 50px;
        line-height: 50px;
        font-size: 18px;
    }
}